﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Domain.审计字段;

namespace Domain_nwj.BasicInformation
{
    /// <summary>
    /// 货主管理表
    /// </summary>
    public class CargoOwner : AuditableEntityBase
    {
        [Key]
        /// <summary>
        /// 自增主键
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 货主姓名（非空）
        /// </summary>
        public string OwnerName { get; set; }

        /// <summary>
        /// 联系电话（非空）
        /// </summary>
        public string PhoneNumber { get; set; }

        /// <summary>
        /// 所属单位名称
        /// </summary>
        public string? UnitName { get; set; }

        /// <summary>
        /// 联系地址
        /// </summary>
        public string? ContactAddress { get; set; }

        /// <summary>
        /// 许可证有效期
        /// </summary>
        public DateTime? LicenseValidDate { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public string? Remarks { get; set; }

        /// <summary>
        /// 许可证照片
        /// </summary>
        public string? LicensePhoto { get; set; }
    }
}
